package com.lzy.pattern.builder;

import lombok.Data;

/**
 * @ClassName: Builder
 * @Description: 抽象建造者
 * @Author: LiuZy
 * @Date: 2022/4/17 22:58
 * @Version: 1.0
 */
@Data
public abstract class Builder {

    protected Bike bike = new Bike();

    public abstract void buildFrame();
    public abstract void buildSeat();
    public abstract Bike createBike();
}